﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGBTech.Core.Models.DanhMuc;

namespace TGBTech.Core.Models.Models.ChungTu
{
    [Table("CTChungTuXuat")]
    public class CTChungTuXuat
    {
        public int Id { get; set; }
        [Required]
        public int ChungTuXuatId { get; set; }
        public virtual ChungTuXuat ChungTuXuat { get; set; }
        public String SoHieu { get; set; }
        public String SoHoaDon { get; set; }
        public DateTime? NgayHoaDon { get; set; }
        [Required]
        public Int64 CTHangHoaId { get; set; }
        public virtual ChiTietHangHoa CTHangHoa { get; set; }
        [Required]
        public int SoLuong { get; set; }
        [Required]
        public Decimal DonGia { get; set; }
        [Required]
        public int VAT { get; set; }
    }
}
